package com.example.myapplication.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2020/11/23.
 */

public class Weapon implements Serializable {
    private  int life;//生命力
    private int speed;//敏捷度
    private int attack;//攻击力

    public Weapon(int life, int speed, int attack) {
        this.life = life;
        this.speed = speed;
        this.attack = attack;
    }

    public int getLife() {
        return life;
    }

    public void setLife(int life) {
        this.life = life;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }
}
